﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace GYCTOAManagementSystemNewApi.Model.Tool
{
    public class Message
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int Code;

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Msg = "操作失败";

        /// <summary>
        /// 标识
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 是否需要重定向
        /// </summary>
        public bool IsRedirect = false;

        /// <summary>
        /// 重定向url
        /// </summary>
        public string RedirectUrl = string.Empty;

        /// <summary>
        /// 消息附加信息
        /// </summary>
        public string Remark = string.Empty;
    }
}
